.class Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;
.super Ljava/lang/Object;
.source "BGMVolumeDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/videos/edit/activities/music/a;-><init>(Landroid/content/Context;Ljava/lang/String;FLjava/util/List;ZILes/cd$j;Lcom/esfile/screen/recorder/videos/edit/activities/music/a$m;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5

    .line 1
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-eqz p2, :cond_4

    .line 2
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    invoke-virtual {p2}, Les/z9;->c()Z

    move-result p2

    if-nez p2, :cond_3

    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->b()Z

    move-result p2

    if-eqz p2, :cond_0

    goto/16 :goto_1

    .line 3
    :cond_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->q(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)V

    .line 4
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->r(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Z

    move-result p2

    if-eqz p2, :cond_1

    .line 5
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    new-instance v0, Landroid/util/Pair;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->s(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v2

    iget-object v2, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    .line 6
    invoke-static {v3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->s(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v3

    iget-object v3, v3, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v4}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->t(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)I

    move-result v4

    add-int/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-direct {v0, v2, v3}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    .line 7
    invoke-virtual {p2, v0}, Les/z9;->a(Landroid/util/Pair;)V

    goto :goto_0

    .line 8
    :cond_1
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->s(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v0

    invoke-virtual {p2, v0}, Les/z9;->a(Landroid/util/Pair;)V

    .line 9
    :goto_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->s(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v0

    iget-object v0, v0, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    int-to-long v2, v0

    invoke-virtual {p2, v2, v3}, Les/z9;->a(J)V

    .line 10
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    invoke-virtual {p2}, Les/z9;->f()V

    .line 11
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->u(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object p2

    if-eqz p2, :cond_2

    .line 12
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->u(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v0

    invoke-virtual {p2, v0}, Les/jb;->a(Landroid/util/Pair;)V

    .line 13
    :cond_2
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2, v1}, Les/jb;->a(I)I

    .line 14
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->e()V

    .line 15
    check-cast p1, Lcom/esfile/screen/recorder/ui/a;

    sget p2, Les/z4;->durec_common_stop:I

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/ui/a;->d(I)V

    .line 16
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->l(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;

    move-result-object p1

    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->setEnabled(Z)V

    .line 17
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->p(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/media/util/w;

    move-result-object p1

    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->o(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/media/util/w$b;

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/media/util/w;->a(Lcom/esfile/screen/recorder/media/util/w$b;)V

    goto/16 :goto_2

    .line 18
    :cond_3
    :goto_1
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/z9;

    move-result-object p2

    invoke-virtual {p2}, Les/z9;->d()V

    .line 19
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->c()V

    .line 20
    check-cast p1, Lcom/esfile/screen/recorder/ui/a;

    sget p2, Les/z4;->durec_common_preview:I

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/ui/a;->d(I)V

    .line 21
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->l(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->setEnabled(Z)V

    .line 22
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->p(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/media/util/w;

    move-result-object p1

    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->o(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/media/util/w$b;

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/media/util/w;->b(Lcom/esfile/screen/recorder/media/util/w$b;)V

    goto :goto_2

    .line 23
    :cond_4
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->b()Z

    move-result p2

    if-eqz p2, :cond_5

    .line 24
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->c()V

    .line 25
    check-cast p1, Lcom/esfile/screen/recorder/ui/a;

    sget p2, Les/z4;->durec_common_preview:I

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/ui/a;->d(I)V

    .line 26
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->l(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->setEnabled(Z)V

    goto :goto_2

    .line 27
    :cond_5
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->q(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)V

    .line 28
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->u(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object p2

    if-eqz p2, :cond_6

    .line 29
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->u(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Landroid/util/Pair;

    move-result-object v0

    invoke-virtual {p2, v0}, Les/jb;->a(Landroid/util/Pair;)V

    .line 30
    :cond_6
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2, v1}, Les/jb;->a(I)I

    .line 31
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->b(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Les/jb;

    move-result-object p2

    invoke-virtual {p2}, Les/jb;->e()V

    .line 32
    check-cast p1, Lcom/esfile/screen/recorder/ui/a;

    sget p2, Les/z4;->durec_common_stop:I

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/ui/a;->d(I)V

    .line 33
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/a$d;->a:Lcom/esfile/screen/recorder/videos/edit/activities/music/a;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/a;->l(Lcom/esfile/screen/recorder/videos/edit/activities/music/a;)Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;

    move-result-object p1

    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->setEnabled(Z)V

    :goto_2
    return-void
.end method
